* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #e0e0ff;
    height: 100vh;
    overflow: hidden;
}

/* 导航条样式 */
.navbar {
    height: 13vh;
    background: rgba(25, 35, 50, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 195, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.navbar h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, #00d2ff, #3a7bd5, #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(58, 123, 213, 0.7);
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite;
}

/* 主体容器 */
.main-container {
    height: 80vh;
    display: flex;
}

/* 左侧按钮区域 */
.sidebar {
    width: 20%;
    background: rgba(15, 20, 40, 0.7);
    border-right: 1px solid rgba(0, 195, 255, 0.2);
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.tech-btn {
    background: rgba(25, 30, 60, 0.8);
    color: #a0d2ff;
    border: none;
    border-radius: 8px;
    padding: 18px 15px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tech-btn:hover {
    background: rgba(40, 45, 90, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 195, 255, 0.4);
}

.tech-btn.active {
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    color: white;
    box-shadow: 0 0 20px rgba(58, 123, 213, 0.7);
}

.tech-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.tech-btn:hover::before {
    left: 100%;
}

/* 右侧内容区域 */
.content {
    width: 80%;
    padding: 40px;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-btn {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(25, 30, 60, 0.8);
    color: #a0d2ff;
    border: 1px solid rgba(0, 195, 255, 0.3);
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.back-btn:hover {
    background: rgba(40, 45, 90, 0.9);
    color: #00d2ff;
    box-shadow: 0 5px 15px rgba(0, 195, 255, 0.4);
}

.official-link {
    font-size: 18px;   /* 之前设置的字体大小 */
    color: #3498db;   /* 浅蓝色*/
    text-decoration: underline;  /* 保留下划线*/
}

.info-card {
    background: rgba(20, 25, 50, 0.8);
    border-radius: 15px;
    padding: 40px;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 195, 255, 0.3);
    animation: fadeIn 0.8s ease-out;
}

.info-card h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: #00d2ff;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.7);
    border-bottom: 2px solid rgba(0, 195, 255, 0.5);
    padding-bottom: 15px;
}

.info-card p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #d0e8ff;
}

.info-card .highlight {
    color: #00d2ff;
    font-weight: 600;
}

/* 动画效果 */
@keyframes glow {
    0%, 100% { text-shadow: 0 0 15px rgba(58, 123, 213, 0.7); }
    50% { text-shadow: 0 0 25px rgba(58, 123, 213, 1), 0 0 50px rgba(58, 123, 213, 0.5); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 响应式设计 */
@media (max-width: 900px) {
    .navbar h1 { font-size: 2.5rem; }
    .tech-btn { font-size: 1.2rem; padding: 15px 10px; }
    .info-card h2 { font-size: 2.2rem; }
    .info-card p { font-size: 1.1rem; }
    .back-btn { padding: 8px 15px; font-size: 1rem; left: 15px; }
}

@media (max-width: 600px) {
    .main-container { flex-direction: column; }
    .sidebar { width: 100%; height: auto; flex-direction: row; flex-wrap: wrap; padding: 15px; }
    .content { width: 100%; padding: 20px; }
    .tech-btn { flex: 1 0 40%; font-size: 1rem; padding: 12px 8px; }
    .back-btn { padding: 6px 12px; font-size: 0.9rem; left: 10px; }
}
